package com.logistics.team3.po;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * 省份信息
 * Province entity. @author MyEclipse Persistence Tools
 */

public class Province  implements java.io.Serializable {


    // Fields    

     private String id;
     /**
      * 省份名称
      */
     private String name;
     private Set cities = new HashSet(0);
     private Set addresses = new HashSet(0);


    // Constructors

    /** default constructor */
    public Province() {
    }

    
    /** full constructor */
    public Province(String name, Set cities, Set addresses) {
        this.name = name;
        this.cities = cities;
        this.addresses = addresses;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Set getCities() {
        return this.cities;
    }
    
    public void setCities(Set cities) {
        this.cities = cities;
    }

    public Set getAddresses() {
        return this.addresses;
    }
    
    public void setAddresses(Set addresses) {
        this.addresses = addresses;
    }
}